package com.xiaojiu.util;


/**
 * Created by Jacky on 2016/10/31.
 */

public class StringUtils {
    /**
     * 动态计算图片的高度
     *
     * @return
     */
    public static int getDynamicHeight(int width, int height) {
        return height * AppConfig.getInstance().getInt(AppConfig.ScreenWidth)
                / width;
    }
}
